*{
    margin: 0px;
    padding: 0px;
}

a{
    text-decoration: none;
}

.top{
    display: flex;
    width: 1380px;
    height: 90px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f2f2f2;
}

.nav{
    display: flex;
    margin-left: 35px;
}

.nav a{
    padding: 0px 20px;
    display: block;
    line-height: 90px;
    transition: .3s;
    color: #000;
}

.nav a:hover{
    color: #31c27c;
    transition: .3s;
}

.active{
    background: #31c27c;
    color: white !important;
}

.search{
    display: flex;
}

.search-box{
    border: 1px solid #c9c9c9;
    border-radius: 3px;
    position: relative;
}

.search-box input{
    border: none;
    background: none;
    width: 220px;
    height: 38px;
    padding-left: 10px;
    box-sizing: border-box;
    outline: none;
}

.search-box input::placeholder{
    font-size: 14px;
    color: #c9c9c9;
}

.search-box img{
    position: absolute;
    width: 16px;
    height: 16px;
    top: calc(50% - 8px);
    right: 8px;
}

.search button{
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
    margin-right: 10px;
}

.search button:nth-of-type(1){
    background: none;
    border: none;
    margin-left: 20px;
}

.search button:nth-of-type(2){
    width: 122px;
    height: 40px;
    background: #31c27c;
    color: white;
}

.search button:nth-of-type(3){
    width: 83px;
    height: 40px;
    border: 1px solid  #c9c9c9;
    background: none;
    transition: .3s;
}

.search button:nth-of-type(3):hover{
    border-color: #31c27c;
    background: #31c27c;
    color: white;
    transition: .3s;
}